package com.ilop.siteraudio.activity;

import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.ilop.siteraudio.R;
import com.ilop.siteraudio.util.StatusBarUtil;

/**
 * @author skygge
 * @date 1/25/21.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：主界面
 */
public class CenterActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        StatusBarUtil.setCustomStatus(this, R.color.main_ground, true);
        findViewById(R.id.iv_main_test).setOnClickListener(view -> startActivity(new Intent(this, TestAlarmActivity.class)));
        findViewById(R.id.iv_main_reports).setOnClickListener(view -> startActivity(new Intent(this, ReportListActivity.class)));
        findViewById(R.id.iv_main_instructions).setOnClickListener(view -> startActivity(new Intent(this, InstructionActivity.class)));
        findViewById(R.id.iv_main_faq).setOnClickListener(view -> startActivity(new Intent(this, FAQActivity.class)));
    }
}
